import request from '@/utils/request';

export async function getOrders(params = {}) {
  return request('/Amaidan-Distribution-Web/distribution/query-order/queryDistributionOrderListForPc', {
    method: 'POST',
    data: params,
  });
}

export async function getOrderDetails(params = {}) {
  return request('/Amaidan-Distribution-Web/distribution/query-order/getDistributionOrderInfoByOrderNo', {
    method: 'POST',
    data: params,
  });
}

